<?php

namespace App;
/**
 * FileName：Constants.php
 * Author: ClovisiQuan
 * Qq: 2057497983
 * Email：Admin@Clovisiquan.top
 * Web: www.ClovisiQuan.top
 * Date: 2017/10/28
 * Time: 17:47
 */

class MenuType
{
    public static $Manager = ['code' => 'Manager','name' => '系统后台'];
    public static $Shop = ['code' => 'Shop','name' => '商家系统'];
    public static $User = ['code' => 'Shop','name' => '用户系统'];

    public static $items = [];
}
MenuType::$items = MenuType::$Manager;
MenuType::$items = MenuType::$Shop;
MenuType::$items = MenuType::$User;

class UserOperationType
{
    /*定义用户操作类型*/
    public static $Register = ['code' => 'Register','name' => '用户注册'];
    public static $Login = ['code' => 'Login','name' => '用户登录'];

    public static $items = [];

}
UserOperationType::$items = UserOperationType::$Register;
UserOperationType::$items = UserOperationType::$Login;

class ShopStatusType
{
    /*定义店铺状态操作类型*/
    public static $Running = ['code' => 'Running','name' =>'运营中'];
    public static $Closed = ['code' => 'Closed','name' =>'打烊'];
    public static $Pause = ['code' => 'Pause','name' =>'店铺查封'];
    public Static $Cancel = ['code' => 'Cancel','name' =>'店铺注销'];
    public static $Delete = ['code' => 'Delete','name' =>'永久删除'];

    public static $items = [];
}
ShopStatusType::$items = ShopStatusType::$Running;
ShopStatusType::$items = ShopStatusType::$Closed;
ShopStatusType::$items = ShopStatusType::$Pause;
ShopStatusType::$items = ShopStatusType::$Cancel;
ShopStatusType::$items = ShopStatusType::$Delete;

